[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+----------------+#########################################################
#+-| SET MESSAGE TO |-----------------------------------------+###############
#| +----------------+ The SET MESSAGE TO command sets the row |###############
#| for display of the menu system message |###############
#+------------------------------------------------------------+###############
##############################################################################
##############################################################################
#+--| Syntax |-----------------------+########################################
#| SET MESSAGE TO <Uint-exp> |########################################
#+-----------------------------------+########################################
##############################################################################
##############################################################################
#######+---| Description |-------------------------------------------+########
#######| SET MESSAGE TO directs any message display generated by the |########
#######| menuing system to a specific line. The default row is 1 |########
#######| (second row from the top). If no messages are generated by |########
#######| a menu system, the message row will remain unaltered. The |########
#######| <Uint-exp> may range from 0 to 24. |########
#######+-------------------------------------------------------------+########
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| * Make menus appear at bottom of the screen. |#########
#########| |#########
#########| SET MESSAGE TO 24 |#########
#########| |#########
#########| @ 23, 0 PROMPT "Next" MESSAGE "Get next record" |#########
#########| @ 23,10 PROMPT "Last" MESSAGE "Get last record" |#########
#########| @ 23,20 PROMPT "Help" MESSAGE "Display screen help" |#########
#########| @ 23,30 PROMPT "eXit" MESSAGE "Exit this function" |#########
#########| |#########
#########| idx = 1 |#########
#########| MENU TO idx |#########
#########| |#########
#########| Output: |#########
#########| Next Last Help eXit |#########
#########| Get next record |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| * Insert message from an array. |#########
#########| |#########
#########| FOR r = 0 TO 6 |#########
#########| @ 1,c PROMPT x[r] MESSAGE m[r] |#########
#########| c = c+len( x[r] )+3 && 3 spaces between |#########
#########| && each prompt. |#########
#########| NEXT |#########
#########| SET MESSAGE TO m1[ 0 ] |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
PROMPT
MENU TO
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson